@@ -1,91 +1,94 @@
Revision history for MooseX-POE
+0.212 2011-04-02 20:53:13 Europe/Berlin
+ - Fix for double BUILD (doy)
+
0.211 2010-12-05 22:17:17 America/New_York
+ Switched to Test::Fatal (perigrin)
0.210 2010-11-04 21:48:59 Europe/Berlin
+ Switched to Dist::Zilla for the author (Getty)
-0.209 2010-09-26
+0.209 2010-09-26
+ Remove useless call to ->_meta_instance (autarch)
-0.208 2010-08-10
- + Added new timer features
- - Remove AutoInstall reference in Makefile.PL
+0.208 2010-08-10
+ + Added new timer features (Getty)
+ - Remove AutoInstall reference in Makefile.PL (Getty)
-0.206 2010-07-27
+0.206 2010-07-27
- Avoid warnings with Moose 1.09 (Dave Rolsky)
- fix CHILD and PARENT methods (xsawyerx)
- various doc/example/test fixes (Avar, perigrin, Getty)
-0.205 2009-06-26
- - Fix inheritance of events (BinGOs)
- - Add tests (BinGOs)
- - Make sure that SENDER in START methods is correct (BinGOs)
+0.205 2009-06-26
+ - Fix inheritance of events (BinGOs)
+ - Add tests (BinGOs)
+ - Make sure that SENDER in START methods is correct (BinGOs)
-0.204 2009-06-12
- - remove auto_install at nothingmuch's request
+0.204 2009-06-12
+ - remove auto_install at nothingmuch's request (perigrin)
-0.203 2009-05-30
- + Add stubbed documentation for metaclasses (perigrin)
- + Clean up aliased test to set inline_constructor => 0 (perigrin)
- + Update Makefile.PL to include AutoManifest and Repository (perigrin)
- + Clean out Object Deferred since it's been broken and nobody noticed (perigrin)
+0.203 2009-05-30
+ + Add stubbed documentation for metaclasses (perigrin)
+ + Clean up aliased test to set inline_constructor => 0 (perigrin)
+ + Update Makefile.PL to include AutoManifest and Repository (perigrin)
+ + Clean out Object Deferred since it's been broken and nobody noticed (perigrin)
-0.202 2009-05-11
+0.202 2009-05-11
+ Change alias_method to add_method as that's not been deprecated (perigrin)
- + Clean up the SYNOPSIS a bit, the name attribute was useless.
+ + Clean up the SYNOPSIS a bit, the name attribute was useless.
+ Changes to keep constructor inlining working with latest Moose &
Class::MOP. This module will still work with any Moose from 0.74
on up.
-0.201 2009-04-02
+0.201 2009-04-02
+ Document the hell out of MooseX::Declare weirdness (perigrin)
+ Update the rest of the documentation including authors and whatnot (perigrin)
-0.200 2009-04-02
- + Fairly substantial re-write of the internals (ash)
+0.200 2009-04-02
+ + Fairly substantial re-write of the internals (ash)
+ Made everything a Metaclass Role / Trait. This will break backwards
- compatibility with the previous method of using MooseX::POE::SweetArgs. (ash)
+ compatibility with the previous method of using MooseX::POE::SweetArgs. (ash)
+ Now compatible with MooseX::Declare ... in theory ... with tests (ash)
- + Add example from the POE Cookbook (LordVorp)
+ + Add example from the POE Cookbook (LordVorp)
-0.100 2009-01-11
- + Change to Moose::Exporter
+0.100 2009-01-11
+ + Change to Moose::Exporter
-0.090 2008-11-08
- + add MANIFEST.SKIP
- - Remove OSX Files
+0.090 2008-11-08
+ + add MANIFEST.SKIP
+ - Remove OSX Files
-0.080 2008-11-07
- +add MooseX::POE::SweetArgs metaclass (hdp)
- +Sessions are no longer leaked because they are only referenced by ID (nothingmuch)
- +Add MooseX::POE::Role (nothingmuch)
- +Add MooseX::POE::Aliased role (nothingmuch)
+0.080 2008-11-07
+ + add MooseX::POE::SweetArgs metaclass (hdp)
+ + Sessions are no longer leaked because they are only referenced by ID (nothingmuch)
+ + Add MooseX::POE::Role (nothingmuch)
+ + Add MooseX::POE::Aliased role (nothingmuch)
-0.070 2008-02-03
- +attributes can now be weak_ref=>1 (rjbs)
+0.070 2008-02-03
+ + attributes can now be weak_ref=>1 (rjbs)
-0.060 2008-01-25
- +START now get all the POE arguments again like they used to. (ash)
+0.060 2008-01-25
+ + START now get all the POE arguments again like they used to. (ash)
-0.050 2008-01-22
- +startup calls STARTALL, which calls all STARTS (like BUILDALL, etc.) (rjbs)
- +fix to the fix for MooseX::Daemonize skipping (Dave Rolsky)
- +fixing MooseX::Object::Deferred so that it brings in the right metaclass
- -- this feature is alpha and has 0 tests YMMV
+0.050 2008-01-22
+ + startup calls STARTALL, which calls all STARTS (like BUILDALL, etc.) (rjbs)
+ + fix to the fix for MooseX::Daemonize skipping (Dave Rolsky)
+ + fixing MooseX::Object::Deferred so that it brings in the right metaclass
+ -- this feature is alpha and has 0 tests YMMV
-0.0.4 2008-01-17
- (functionally the same as 0.03)
- +Fix test to skip if MooseX::Daemonize not installed
+0.0.4 2008-01-17
+ (functionally the same as 0.03)
+ + Fix test to skip if MooseX::Daemonize not installed
-0.0.3 2008-01-15
- +fix Synopsis code to close bug #31432 (sproingie)
+0.0.3 2008-01-15
+ + fix Synopsis code to close bug #31432 (sproingie)
-0.0.2 2007-10-23
- +fix POD
- +fix tests
+0.0.2 2007-10-23
+ + fix POD
+ + fix tests
-0.0.1 Thu Oct 11 16:58:27 2007
- +Initial release.
+0.0.1 2007-10-11 16:58:27 America/New_York
+ + Initial release.
@@ -25,7 +25,6 @@ lib/MooseX/POE/Meta/Method/State.pm
lib/MooseX/POE/Meta/Role.pm
lib/MooseX/POE/Meta/Trait.pm
lib/MooseX/POE/Meta/Trait/Class.pm
-lib/MooseX/POE/Meta/Trait/Constructor.pm
lib/MooseX/POE/Meta/Trait/Instance.pm
lib/MooseX/POE/Meta/Trait/Object.pm
lib/MooseX/POE/Meta/Trait/SweetArgs.pm
@@ -8,7 +8,7 @@
"Torsten Raudssus <torsten@raudssus.de> L<http://www.raudssus.de/>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.102343, CPAN::Meta::Converter version 2.102400",
+ "generated_by" : "Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110240",
"license" : [
"perl_5"
],
@@ -43,14 +43,14 @@
},
"release_status" : "stable",
"resources" : {
- "homepage" : "http://github.com/perigrin/moosex-poe",
+ "homepage" : "http://github.com/perigrin/moosex-poe/tree",
"repository" : {
"type" : "git",
- "url" : "git://github.com/perigrin/moosex-poe",
+ "url" : "git://github.com/perigrin/moosex-poe.git",
"web" : "http://github.com/perigrin/moosex-poe"
}
},
- "version" : "0.211",
+ "version" : "0.212",
"x_Dist_Zilla" : {
"plugins" : [
{
@@ -62,7 +62,7 @@
}
},
"name" : "Prereqs",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -73,107 +73,107 @@
}
},
"name" : "TestRequires",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@Basic/GatherDir",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Basic/PruneCruft",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Basic/ManifestSkip",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Basic/MetaYAML",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Basic/License",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Basic/Readme",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@Basic/ExtraTests",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Basic/ExecDir",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Basic/ShareDir",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@Basic/MakeMaker",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Basic/Manifest",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Basic/TestRelease",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Basic/ConfirmRelease",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Basic/UploadToCPAN",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "Git::NextVersion",
- "version" : "1.102810"
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "PkgVersion",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "MetaConfig",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "MetaJSON",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "NextRelease",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "PodSyntaxTests",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
@@ -188,52 +188,52 @@
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "Repository",
- "version" : "0.16"
+ "version" : "0.17"
},
{
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "MetaNoIndex",
- "version" : "1.101550"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@Git/Check",
- "version" : "1.102810"
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@Git/Commit",
- "version" : "1.102810"
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@Git/Tag",
- "version" : "1.102810"
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@Git/Push",
- "version" : "1.102810"
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.102343"
+ "version" : "4.200004"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.102343"
+ "version" : "4.200004"
}
],
"zilla" : {
@@ -241,7 +241,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.102343"
+ "version" : "4.200004"
}
}
}
@@ -12,7 +12,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: 6.31
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.102343, CPAN::Meta::Converter version 2.102400'
+generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110240'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,9 +25,9 @@ requires:
Moose: 0.90
POE: 1.004
resources:
- homepage: http://github.com/perigrin/moosex-poe
- repository: git://github.com/perigrin/moosex-poe
-version: 0.211
+ homepage: http://github.com/perigrin/moosex-poe/tree
+ repository: git://github.com/perigrin/moosex-poe.git
+version: 0.212
x_Dist_Zilla:
plugins:
-
@@ -37,7 +37,7 @@ x_Dist_Zilla:
phase: runtime
type: requires
name: Prereqs
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -45,87 +45,87 @@ x_Dist_Zilla:
phase: test
type: requires
name: TestRequires
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::GatherDir
name: '@Basic/GatherDir'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Basic/PruneCruft'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Basic/ManifestSkip'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Basic/MetaYAML'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::License
name: '@Basic/License'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Readme
name: '@Basic/Readme'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@Basic/ExtraTests'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Basic/ExecDir'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Basic/ShareDir'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@Basic/MakeMaker'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Manifest
name: '@Basic/Manifest'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Basic/TestRelease'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Basic/ConfirmRelease'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Basic/UploadToCPAN'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: Git::NextVersion
- version: 1.102810
+ version: 1.110500
-
class: Dist::Zilla::Plugin::PkgVersion
name: PkgVersion
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaConfig
name: MetaConfig
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::MetaJSON
name: MetaJSON
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::NextRelease
name: NextRelease
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: PodSyntaxTests
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::GithubMeta
name: GithubMeta
@@ -137,45 +137,45 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Repository
name: Repository
- version: 0.16
+ version: 0.17
-
class: Dist::Zilla::Plugin::MetaNoIndex
name: MetaNoIndex
- version: 1.101550
+ version: 4.200004
-
class: Dist::Zilla::Plugin::Git::Check
name: '@Git/Check'
- version: 1.102810
+ version: 1.110500
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@Git/Commit'
- version: 1.102810
+ version: 1.110500
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@Git/Tag'
- version: 1.102810
+ version: 1.110500
-
class: Dist::Zilla::Plugin::Git::Push
name: '@Git/Push'
- version: 1.102810
+ version: 1.110500
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.102343
+ version: 4.200004
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.102343
+ version: 4.200004
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.102343
+ version: 4.200004
@@ -26,7 +26,7 @@ my %WriteMakefileArgs = (
'Moose' => '0.90',
'POE' => '1.004'
},
- 'VERSION' => '0.211',
+ 'VERSION' => '0.212',
'test' => {
'TESTS' => 't/*.t'
}
@@ -1,7 +1,7 @@
This archive contains the distribution MooseX-POE,
-version 0.211:
+version 0.212:
The Illicit Love Child of Moose and POE
@@ -1,6 +1,6 @@
package MooseX::POE::Aliased;
BEGIN {
- $MooseX::POE::Aliased::VERSION = '0.211';
+ $MooseX::POE::Aliased::VERSION = '0.212';
}
# ABSTRACT: A sane alias attribute for your MooseX::POE objects.
use MooseX::POE::Role;
@@ -55,7 +55,7 @@ MooseX::POE::Aliased - A sane alias attribute for your MooseX::POE objects.
=head1 VERSION
-version 0.211
+version 0.212
=head1 SYNOPSIS
@@ -1,6 +1,6 @@
package MooseX::POE::Meta::Method::State;
BEGIN {
- $MooseX::POE::Meta::Method::State::VERSION = '0.211';
+ $MooseX::POE::Meta::Method::State::VERSION = '0.212';
}
# ABSTRACT: Dont look into this, its boring
use strict;
@@ -19,7 +19,7 @@ MooseX::POE::Meta::Method::State - Dont look into this, its boring
=head1 VERSION
-version 0.211
+version 0.212
=head1 AUTHORS
@@ -1,6 +1,6 @@
package MooseX::POE::Meta::Role;
BEGIN {
- $MooseX::POE::Meta::Role::VERSION = '0.211';
+ $MooseX::POE::Meta::Role::VERSION = '0.212';
}
# ABSTRACT: Pay no attention to this.
use Moose::Role;
@@ -34,7 +34,7 @@ MooseX::POE::Meta::Role - Pay no attention to this.
=head1 VERSION
-version 0.211
+version 0.212
=head1 AUTHORS
@@ -1,6 +1,6 @@
package MooseX::POE::Meta::Trait::Class;
BEGIN {
- $MooseX::POE::Meta::Trait::Class::VERSION = '0.211';
+ $MooseX::POE::Meta::Trait::Class::VERSION = '0.212';
}
# ABSTRACT: No achmed inside
use Moose::Role;
@@ -64,7 +64,7 @@ MooseX::POE::Meta::Trait::Class - No achmed inside
=head1 VERSION
-version 0.211
+version 0.212
=head1 METHODS
@@ -1,106 +0,0 @@
-package MooseX::POE::Meta::Trait::Constructor;
-BEGIN {
- $MooseX::POE::Meta::Trait::Constructor::VERSION = '0.211';
-}
-# ABSTRACT: Yeah something even more boring
-
-use Moose::Role;
-
-# For CMOP 0.82_01+
-sub _expected_method_class { "MooseX::POE::Meta::Trait::Object" }
-
-# For older versions of Moose/CMOP
-sub _expected_constructor_class { "MooseX::POE::Meta::Trait::Object" }
-
-around _generate_instance => sub {
- my $orig = shift;
- my ($self, $var, $class_var) = @_;
-
- my %events = $self->associated_metaclass->get_all_events;
- $events{STARTALL} = 'STARTALL';
- $events{_stop} = 'STOPALL';
-
- my $events = join(', ', map {
- s/'/\\'/g;
- "'$_'"
- } %events);
-
- my $source = $orig->(@_) . <<"EOF"
-my \$session = POE::Session->create(
- inline_states => { _start => sub { POE::Kernel->yield('STARTALL', \$_[5] ) }, },
- object_states => [
- $var => { $events }
- ],
- args => [ $var ],
- heap => (${var}->{heap} ||= {}),
-);
-${var}->{session_id} = \$session->ID;
-EOF
-};
-
-no Moose::Role;
-
-1;
-
-
-
-=pod
-
-=head1 NAME
-
-MooseX::POE::Meta::Trait::Constructor - Yeah something even more boring
-
-=head1 VERSION
-
-version 0.211
-
-=head1 SYNOPSIS
-
- use MooseX::POE::Meta::Trait::Constructor;
-
-=head1 DESCRIPTION
-
-The MooseX::POE::Meta::Trait::Constructor class implements ...
-
-=head1 SUBROUTINES / METHODS
-
-There are no public methods.
-
-=head1 AUTHORS
-
-=over 4
-
-=item *
-
-Chris Prather <chris@prather.org>
-
-=item *
-
-Ash Berlin <ash@cpan.org>
-
-=item *
-
-Chris Williams <chris@bingosnet.co.uk>
-
-=item *
-
-Yuval (nothingmuch) Kogman
-
-=item *
-
-Torsten Raudssus <torsten@raudssus.de> L<http://www.raudssus.de/>
-
-=back
-
-=head1 COPYRIGHT AND LICENSE
-
-This software is copyright (c) 2010 by Chris Prather, Ash Berlin, Chris Williams, Yuval Kogman, Torsten Raudssus.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as the Perl 5 programming language system itself.
-
-=cut
-
-
-__END__
-
@@ -1,6 +1,6 @@
package MooseX::POE::Meta::Trait::Instance;
BEGIN {
- $MooseX::POE::Meta::Trait::Instance::VERSION = '0.211';
+ $MooseX::POE::Meta::Trait::Instance::VERSION = '0.212';
}
# ABSTRACT: A Instance Metaclass for MooseX::POE
@@ -52,7 +52,7 @@ MooseX::POE::Meta::Trait::Instance - A Instance Metaclass for MooseX::POE
=head1 VERSION
-version 0.211
+version 0.212
=head1 SYNOPSIS
@@ -1,16 +1,14 @@
package MooseX::POE::Meta::Trait::Object;
BEGIN {
- $MooseX::POE::Meta::Trait::Object::VERSION = '0.211';
+ $MooseX::POE::Meta::Trait::Object::VERSION = '0.212';
}
# ABSTRACT: The base class role for MooseX::POE
use Moose::Role;
use POE::Session;
-sub new {
- my $class = shift;
- my $params = $class->BUILDARGS(@_);
- my $self = $class->meta->new_object($params);
+sub BUILD {
+ my $self = shift;
my $session = POE::Session->create(
inline_states =>
@@ -29,9 +27,6 @@ sub new {
heap => ( $self->{heap} ||= {} ),
);
$self->{session_id} = $session->ID;
-
- $self->BUILDALL($params);
- return $self;
}
sub get_session_id {
@@ -110,7 +105,7 @@ MooseX::POE::Meta::Trait::Object - The base class role for MooseX::POE
=head1 VERSION
-version 0.211
+version 0.212
=head1 SYNOPSIS
@@ -1,6 +1,6 @@
package MooseX::POE::Meta::Trait::SweetArgs;
BEGIN {
- $MooseX::POE::Meta::Trait::SweetArgs::VERSION = '0.211';
+ $MooseX::POE::Meta::Trait::SweetArgs::VERSION = '0.212';
}
# ABSTRACT: Yes, its a trap... i mean trait
@@ -27,7 +27,7 @@ MooseX::POE::Meta::Trait::SweetArgs - Yes, its a trap... i mean trait
=head1 VERSION
-version 0.211
+version 0.212
=head1 SYNOPSIS
@@ -1,6 +1,6 @@
package MooseX::POE::Meta::Trait;
BEGIN {
- $MooseX::POE::Meta::Trait::VERSION = '0.211';
+ $MooseX::POE::Meta::Trait::VERSION = '0.212';
}
# ABSTRACT: There be dragons here.
use Moose::Role;
@@ -57,7 +57,7 @@ MooseX::POE::Meta::Trait - There be dragons here.
=head1 VERSION
-version 0.211
+version 0.212
=head1 AUTHORS
@@ -1,6 +1,6 @@
package MooseX::POE::Role;
BEGIN {
- $MooseX::POE::Role::VERSION = '0.211';
+ $MooseX::POE::Role::VERSION = '0.212';
}
# ABSTRACT: Eventful roles
use MooseX::POE::Meta::Role;
@@ -45,7 +45,7 @@ MooseX::POE::Role - Eventful roles
=head1 VERSION
-version 0.211
+version 0.212
=head1 SYNOPSIS
@@ -1,6 +1,6 @@
package MooseX::POE::SweetArgs;
BEGIN {
- $MooseX::POE::SweetArgs::VERSION = '0.211';
+ $MooseX::POE::SweetArgs::VERSION = '0.212';
}
# ABSTRACT: sugar around MooseX::POE event arguments
@@ -37,7 +37,7 @@ MooseX::POE::SweetArgs - sugar around MooseX::POE event arguments
=head1 VERSION
-version 0.211
+version 0.212
=head1 SYNOPSIS
@@ -1,6 +1,6 @@
package MooseX::POE;
BEGIN {
- $MooseX::POE::VERSION = '0.211';
+ $MooseX::POE::VERSION = '0.212';
}
# ABSTRACT: The Illicit Love Child of Moose and POE
@@ -13,7 +13,6 @@ my ( $import, $unimport, $init_meta ) = Moose::Exporter->setup_import_methods(
install => [qw(import unimport)],
class_metaroles => {
class => ['MooseX::POE::Meta::Trait::Class'],
- constructor => ['MooseX::POE::Meta::Trait::Constructor'],
instance => ['MooseX::POE::Meta::Trait::Instance'],
},
base_class_roles => ['MooseX::POE::Meta::Trait::Object'],
@@ -47,7 +46,7 @@ MooseX::POE - The Illicit Love Child of Moose and POE
=head1 VERSION
-version 0.211
+version 0.212
=head1 SYNOPSIS
@@ -1,4 +1,3 @@
-use Test::More skip_all => 'Moose upstream needs to sort out immutability';
use Test::More tests => 2;
{
@@ -21,19 +21,13 @@ my $cnt_start = 0;
Test::MooseX::POE::DoubleBuild->new;
-TODO: {
- local $TODO = 'fix this';
- is($cnt, 1, 'BUILD called once');
-}
+is($cnt, 1, 'BUILD called once');
is($cnt_start, 0, 'START not called');
POE::Kernel->run;
-TODO: {
- local $TODO = 'will be fixed with the other';
- is($cnt, 1, 'BUILD still called once');
-}
+is($cnt, 1, 'BUILD still called once');
is($cnt_start, 1, 'START called once');